package com.xbts.system.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xbts.system.domain.CnContractOrderItemRelation;

/**
 * 合同订单关联Service接口
 * 
 * @author xbts
 * @date 2023-08-31
 */
public interface ICnContractOrderItemRelationService  extends IService<CnContractOrderItemRelation> {

    /**
     * 查询合同订单关联列表
     *
     * @param cnContractOrderItemRelation 合同订单关联
     * @return 合同订单关联集合
     */
     List<CnContractOrderItemRelation> selectCnContractOrderItemRelationList(CnContractOrderItemRelation cnContractOrderItemRelation);

    /**
     * 查询合同订单关联
     *
     * @param id 合同订单关联主键
     * @return 合同订单关联
     */
     CnContractOrderItemRelation selectCnContractOrderItemRelationById(String id);


    /**
     * 新增合同订单关联
     *
     * @param cnContractOrderItemRelation 合同订单关联
     * @return 结果
     */
     boolean insertCnContractOrderItemRelation(CnContractOrderItemRelation cnContractOrderItemRelation);

    /**
     * 修改合同订单关联
     *
     * @param cnContractOrderItemRelation 合同订单关联
     * @return 结果
     */
     boolean updateCnContractOrderItemRelation(CnContractOrderItemRelation cnContractOrderItemRelation);

    /**
     * 批量删除合同订单关联
     *
     * @param ids 需要删除的合同订单关联主键集合
     * @return 结果
     */
     boolean deleteCnContractOrderItemRelationByIds(List<String> ids);

    /**
     * 删除合同订单关联信息
     *
     * @param id 合同订单关联主键
     * @return 结果
     */
     boolean deleteCnContractOrderItemRelationById(String id);
}
